package com.qfoud.edu.aunt.commons.enum1;

/**
 * @author xiaobobo
 * @title: ResponseCode
 * @projectName cd-java-2303-project-parent
 * @description: TODO
 * @date 2023/5/11  9:30
 */
public enum ResponseCode {
    PARAMETER_ERROR(100,"参数有误"),
    USERNAME_ERROR(101,"用户名不对"),
    PASSWORD_ERROR(102,"密码不对");

    private Integer code;
    private String message;

    ResponseCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
